using System;
using System.Collections.Generic;
using System.Text;

namespace miciv
{
    public class Template : Scene
    {
        public Template(CoreContext _coreContext, string _strID)
            : base(_coreContext, _strID)
        {
        }

        public Template(CoreContext _coreContext, string _strID, Frame _frmParent)
            : base(_coreContext, _strID, _frmParent)
        {
        }

        override public Frame Clone(Frame _frmParent, string _strID)
        {
            Frame frame = new Template(this.m_coreContext, this.m_strID + _strID, _frmParent);
            frame.Copy(this);
            foreach (Frame child in this.m_lstChildren)
            {
                child.Clone(frame);
            }
            return frame;
        }

        override public Frame Clone(Frame _frmParent)
        {
            return this.Clone(_frmParent, "");
        }
    }
}
